<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Jiahua Admin Template</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Member">
<meta name="author" content="shxinzhu">

<!-- The styles -->
<link id="bs-css" href="css/bootstrap-cerulean.css" rel="stylesheet">
<style type="text/css">
body {
	padding-bottom: 40px;
}

.sidebar-nav {
	padding: 9px 0;
}
</style>
<link href="css/bootstrap-responsive.css" rel="stylesheet">
<link href="css/charisma-app.css" rel="stylesheet">
<link href="css/jquery-ui-1.8.21.custom.css" rel="stylesheet">
<link href='css/fullcalendar.css' rel='stylesheet'>
<link href='css/fullcalendar.print.css' rel='stylesheet' media='print'>
<link href='css/chosen.css' rel='stylesheet'>
<link href='css/uniform.default.css' rel='stylesheet'>
<link href='css/colorbox.css' rel='stylesheet'>
<link href='css/jquery.cleditor.css' rel='stylesheet'>
<link href='css/jquery.noty.css' rel='stylesheet'>
<link href='css/noty_theme_default.css' rel='stylesheet'>
<link href='css/elfinder.min.css' rel='stylesheet'>
<link href='css/elfinder.theme.css' rel='stylesheet'>
<link href='css/jquery.iphone.toggle.css' rel='stylesheet'>
<link href='css/opa-icons.css' rel='stylesheet'>
<link href='css/uploadify.css' rel='stylesheet'>

<!-- The fav icon -->
<link rel="shortcut icon" href="img/favicon.ico">
</head>

<body>
	<!-- Header file -->
	<jsp:include page="100-header.jsp" flush="true" />
	<!-- 
	<s:iterator value="customerList" >
	     <s:property value="id"/>
	</s:iterator>  -->
	
	<div class="container-fluid">
		<div class="row-fluid">

			<!-- Header file -->
			<jsp:include page="100-menu.jsp" flush="true" />

			<noscript>
				<div class="alert alert-block span10">
					<h4 class="alert-heading">Warning!</h4>
					<p>
						You need to have <a href="http://en.wikipedia.org/wiki/JavaScript"  target="_blank">JavaScript</a> enabled to use this site.
					</p>
				</div>
			</noscript>

			<div id="content" class="span10">
				<!-- content starts -->
				<div>
					<ul class="breadcrumb">
						<li><a href="#">Home</a> <span class="divider">/</span></li>
						<li><a href="#">Member</a></li>
					</ul>
				</div>

				<div class="row-fluid sortable">
					<div class="box span12">
						<div class="box-header well" data-original-title>
							<h2><i class="icon-user"></i> Members</h2>
							<div class="box-icon">
								<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a> 
								<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
								<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
							</div>
						</div>
						<div class="box-content">
							<table class="table table-striped table-bordered bootstrap-datatable datatable">
								<thead>
									<tr>
										<th>Username</th>
										<th>UserID</th>
										<th>Registereday</th>
										<th>visitNum</th>
										<th>Email</th>
										<th>PhoneNum</th>
										<th>Status</th>
										<th>Actions</th>
									</tr>
								</thead>
								<!-- Table body Start -->
								<tbody>
								
								<s:iterator value="customerList" >
                                <tr>
                                    <td><s:property value="lastName" /></td>
                                    <td><s:property value="loginID" /></td>
                                    <td><s:property value="registrationDate" /></td>
                                    <td><s:property value="visitNum" /></td>
                                    <td><s:property value="email" /></td>
                                    <td><s:property value="phone" /></td>
                                    <td><span class="label label-success"><s:property value="flag" /></span></td>
									<td class="center">
										<a class="btn btn-success" href="#"> <i class="icon-zoom-in icon-white"></i> View </a> 
										<a class="btn btn-info" href="#"> <i class="icon-edit icon-white"></i> Edit </a> 
										<a class="btn btn-danger" href='memberDelAction.do?deleteId=<s:property value="id"/>' onclick=""> <i class="icon-trash icon-white"></i> Delete </a>
									</td>                                    
                   
                                </tr>
                         		</s:iterator>
								</tbody>
								<!-- Table Body End -->
							</table>
						</div>
					</div>
					<!--/span-->
				</div>
				<!--/row-->
			</div>
			<!--/row-->
		</div>
		<!--/row-->
		<!-- content ends -->
	</div>
	<!--/#content.span10-->
	<!--/fluid-row-->
	<hr>
	
	<!-- dialogue Start -->
	<div class="modal hide fade" id="myModal">
		<div class="modal-header">
			<button type="button" class="close" data-dismiss="modal">Ã</button>
			<h3>Settings</h3>
		</div>
		<div class="modal-body">
			<p>Here settings can be configured...</p>
		</div>
		<div class="modal-footer">
			<a href="#" class="btn" data-dismiss="modal">Close</a> <a href="#" class="btn btn-primary">Save changes</a>
		</div>
	</div>
	<!-- dialogue End -->

	<!-- Header file -->
	<jsp:include page="100-footer.jsp" flush="true" />
	<!--/.fluid-container-->

	<!-- Header file -->
	<jsp:include page="100-js.jsp" flush="true" />

</body>
</html>
